import request from '@/utils/request'

export const updatePasswordAPI = (data) => request.put('/sys/user/updatePass', data)
export const loginAPI = (data) => request.post('/sys/login', data)
export const getUserInfoAPI = () => request.get('/sys/profile')
// export const loginAPI = (data) => {
//   return request.post('/sys/login', data)
// }
